#!/usr/bin/env python
# -*- coding: UTF-8 -*-


import unittest


class MyTestCase(unittest.TestCase):
    def setUp(self):
        pass

    def testSomething(self):
        def func_to_dict(param1, param2, param3):
            return locals()

        # Example usage
        result = func_to_dict("Alice", 25, "New York")
        print(result)  # Output: {'param1': 'Alice', 'param2': 25, 'param3': 'New York'}


if __name__ == '__main__':
    unittest.main()
